package com.lhy.tool.database.mapper;

import com.lhy.tool.database.TableColumnMetaData;
import com.lhy.tool.database.TableMetaData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * DbMetaDataMapper
 * <p/>
 * 不扫描
 * @author hyluan
 * @date 2019/1/15 19:28
 * Copyright (c) 2018 wisedu
 */
//@ConditionalOnExpression("false")
public interface DbMetaDataMapper {

    List<TableMetaData> listTable(@Param("schema") String schema,
                                       @Param("tableNames") List<String> tableNames);

    List<TableColumnMetaData> listTableColumns(@Param("schema") String schema,
                                                    @Param("tableName") String tableName);


}
